package edu.scdx.service;

import java.util.List;

import edu.scdx.entity.Cart;

public interface CartService {

	Cart getCart(String userTel, int id);

	void addCart(String userTel, int id, int number, String name, String type, String author, String publisher, String description, double price, double kou);

	void updateCart(String userTel, int id);

	List<Cart> getAll(String userTel);

	void deleteCart(String tel, Integer id);

	Cart getCartNumber(String tel, Integer id);

	void updateCartNumber(String tel, Integer id);


}
